<template>
  <div class="localTooltip relative">
    <slot></slot>
    <div class="messageBox" :class="{topLeft:position=='topLeft',topRight:position=='topRight'}">{{content}}</div>
  </div>
</template>

<script>
  import './main.scss'
  export default {
    props:{
      content:'',//内容
      position:'',//位置
    },
    data() {
      return {}
    },
    mounted() {},
    activated() {},
    deactivated() {},
    methods: {},
    components: {},
    watch: {}
  }
</script>
